#pragma once
#pragma once

#include "DXAMLCommon.h"

#include "XamlParserContext.h"


class XamlTextReaderSettings
{
private: 
	XBOOL m_bRequireDefaultNamespace;
	XBOOL m_shouldProcessUid;
	XamlTextReaderSettings();
public: 
	static HRESULT Create(XBOOL bRequireDefaultNamespace, XBOOL shouldProcessUid, xshared_ptr<XamlTextReaderSettings> & spReaderSettings);
	const XBOOL & get_ShouldProcessUid();
	HRESULT get_RequireDefaultNamespace(XBOOL & fRequireDefaultNamespace);
	HRESULT AddDefaultXmlNamespacePrefixesIfNotRequired(const xshared_ptr<XamlParserContext> & spParserContext) const;
};

